Skip to content

Conversation

@vdombrovski
Copy link

Fixes #329

@trafico-bot trafico-bot bot added the 🔍 Ready for Review Pull Request is not reviewed yet label Aug 1, 2023
}
if err := model.Association("Roles").Append(&appendRoles); err != nil {

roles := tx.Model(user).Association("Groups")
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
roles := tx.Model(user).Association("Groups")
roles := tx.Model(user).Association("Roles")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🔍 Ready for Review Pull Request is not reviewed yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug when unassign-group on user

3 participants